]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Fix opening the overview for xdnd
authorAdel Gadllah <adel.gadllah@gmail.com>
Sat, 23 Mar 2013 09:51:43 +0000 (10:51 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Mon, 25 Mar 2013 13:43:22 +0000 (14:43 +0100)
In the (no barriers) fallback case handleDragOver has somehow
ended up being turned into a nop and thus breaking xdnd
overview opening.

Fix that by calling _toggleOverview() when a xdnd source triggers
it.

https://bugzilla.gnome.org/show_bug.cgi?id=696447

js/ui/layout.js

index 8d5ab12760e8ed3c33bec52b9aab1f14d21dc0db..e8f46c1cbcd0ce37e50ce8a4ab0fe5447ce93b9b 100644 (file)
@@ -1200,6 +1200,8 @@ const HotCorner = new Lang.Class({
         if (source != Main.xdndHandler)
             return DND.DragMotionResult.CONTINUE;
 
+        this._toggleOverview();
+
         return DND.DragMotionResult.CONTINUE;
     },